//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Workflow
//  File name:	ActivityInstanceEventArgs.cs
//  Developer:	Solomatov Igor
//  Created:	16.04.2012
// 
//  -------------------- iSharePoint -------------------- //

using System;
using System.Workflow.ComponentModel;

namespace Smart.Workflow
{
	/// <summary>
	/// Activity instance event args
	/// </summary>
	[Serializable]
	public class ActivityInstanceEventArgs : EventArgs
	{
		public ActivityInstance Instance;

		public Activity Source;

		/// <summary>
		/// Initializes a new instance of the <see cref="T:Smart.Workflow.ActivityInstanceEventArgs"/> class.
		/// </summary>
		public ActivityInstanceEventArgs(Activity source, ActivityInstance instance)
		{
			Source = source;
			Instance = instance;
		}
	}
}